-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: added the link to array in string_arrow.py #50241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
pandas/core/arrays/string_arrow.py
Outdated
@@ -85,7 +85,8 @@ class ArrowStringArray(ArrowExtensionArray, BaseStringArray, ObjectStringArrayMi | |||
|
|||
See Also | |||
-------- | |||
array | |||
`array | |||
<https://pandas.pydata.org/docs/dev/reference/api/pandas.arrays.ArrowStringArray.html>`__ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only one underscore? Not sure but doc build is failing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are two underscores, this was on the sphinx site to have two underscores and the doc build fails if we have just one inderscore
pandas/core/arrays/string_arrow.py
Outdated
`array | ||
<https://pandas.pydata.org/docs/dev/reference/api/pandas.arrays.ArrowStringArray.html>`__ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ramvikrams! I think the intent here is for this to point to pandas.array
instead of ArrowStringArray
. Something like the suggestion below should handle that. It also will make it so the link always points to the version of the documentation page that's currently being used. As is, the link in this PR will point to the dev
version of the docs.
`array | |
<https://pandas.pydata.org/docs/dev/reference/api/pandas.arrays.ArrowStringArray.html>`__ | |
pandas.array |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes i'll do that
pandas/core/arrays/string_.py
Outdated
@@ -266,7 +266,8 @@ class StringArray(BaseStringArray, PandasArray): | |||
|
|||
See Also | |||
-------- | |||
array | |||
`array | |||
<https://pandas.pydata.org/docs/reference/api/pandas.array.html>`__ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you make this link without using a hyperlink i.e. the correct reference that sphinx will pick up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had a question I don't know about this way could you tell some doc where I can read about it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe https://stackoverflow.com/questions/40980041/link-to-see-also-functions-in-sphinx-docstrings and related searches?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks I'll check it out
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks could you render the docs to validate how this looks?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks could you render the docs to validate how this looks?
looks and works fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you post a screenshot of the rendered docs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you post a screenshot of the rendered docs?
yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added the screenshot sorry it took time I was struggling on how to add screenshot and at last saw that we can attach files by dragging, I have also attached the screenshot of array
page opening nicely when clicking array
in the doc for ArrowStringArray
and StringArray
Thanks @ramvikrams |
thanks |
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.